Skip to content

...#8

Merged
willytop8 merged 2 commits into
mainfrom
port-prevalentware-improvements
Jun 14, 2026
Merged

...#8
willytop8 merged 2 commits into
mainfrom
port-prevalentware-improvements

Conversation

@willytop8

Copy link
Copy Markdown
Owner

...

willytop8 and others added 2 commits June 13, 2026 19:00
Adapt two substantive behaviors from the prevalentWare/opencode-goal-plugin
reimplementation into the marker-based plugin, preserving naming/branding:

- /goal edit <objective>: revise the active goal in place, keeping the
  turn/token/time budget and history (from their update_goal_objective tool).
- experimental.session.compacting hook: inject goal objective, status, budget,
  and latest checkpoint into the compaction context so the goal survives a
  session compaction (from their compactionContext injection).

Adds 8 tests (80 total, all passing).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add experimental.compaction.autocontinue hook as the defensive pair to the
compaction-survival hook: when an active (non-stopped) goal is present, set
output.enabled = false so OpenCode's native post-compaction continuation does
not race the plugin's own idle-triggered continuation. Paused/stopped goals
leave the native behavior untouched. Ported from prevalentWare/opencode-goal-plugin.

Adds 3 tests (83 total, all passing).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@willytop8 willytop8 merged commit 629c0d0 into main Jun 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant